
from typing import List
from redis import Redis
from model.entitys import Execut

def clear_running_case(redis: Redis, gain_id: List):
    for g in gain_id:
        if redis.exists(g):
            gain_id.remove(g)
        else:
            redis.set(g, Execut.ACTIVE)




















































